package com.lizard.schedule.persistence.db.bean;

/**
 * IdGenerator bean
 */
public class IdGeneratorBean {

    /**
     * 类型：计划本地id
     */
    public final static int TYPE_SCHEDULE_LOCAL_ID = 1;

    /**
     * 生成器id初始值
     */
    public final static int GENERATE_ID_DEFAULT = 1;

    /**
     * 用户名
     */
    private String username;

    /**
     * 类型
     */
    private int type;

    /**
     * 生成器id
     */
    private int generateId;

    public IdGeneratorBean() {}

    public IdGeneratorBean(String username, int type, int generateId) {
        this.username = username;
        this.type = type;
        this.generateId = generateId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getGenerateId() {
        return generateId;
    }

    public void setGenerateId(int generateId) {
        this.generateId = generateId;
    }
}
